package com.pengtu.entity.project;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.codehaus.jackson.annotate.JsonAutoDetect;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

import com.pengtu.entity.IdEntity;
/**
 * 合共段工程
 * 
 * SubprojectInfo
 * 
 * 2011-7-27 下午02:12:39
 * 
 * @version 1.0.0
 *
 */
@Entity
@Table(name = "T_PROJ_SUBPROJECT")
@JsonAutoDetect 
@JsonIgnoreProperties (value = { "subunitId","hibernateLazyInitializer","handler"})
public class SubprojectInfo extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String subunitId;      //所属图纸合同子单位
	private String code;         //编号
	private String name;         //分部名称
	private String content;      //工序名称
	private String structure;    //构件类型
	private String qualityGrade;  //质量等级
	private String techGrade;      //行业等级
	private String cost;           //合计价格
	private String location;       //工程位置
	private String principal;      //是否为主要工程
	private String startPegNum;    //起点桩号
	private String endPegNum;     // 终点桩号
	private String remark;        //备注 


	@Column(name="SID")
	public String getSubunitId() {
		return subunitId;
	}

	public void setSubunitId(String subunitId) {
		this.subunitId = subunitId;
	}

	@Column(name="CODE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Column(name="NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Column(name="CONTENT")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Column(name="STRUCTURE")
	public String getStructure() {
		return structure;
	}

	public void setStructure(String structure) {
		this.structure = structure;
	}

	@Column(name="QUALITYGRADE")
	public String getQualityGrade() {
		return qualityGrade;
	}

	public void setQualityGrade(String qualityGrade) {
		this.qualityGrade = qualityGrade;
	}

	@Column(name="TECHGRADE")
	public String getTechGrade() {
		return techGrade;
	}

	public void setTechGrade(String techGrade) {
		this.techGrade = techGrade;
	}
	
	@Column(name="COST")
	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}
	
	@Column(name="LOCATION")
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
	@Column(name="PRINCIPAL")
	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	@Column(name="STARTPEGNUM")
	public String getStartPegNum() {
		return startPegNum;
	}

	public void setStartPegNum(String startPegNum) {
		this.startPegNum = startPegNum;
	}

	@Column(name="ENDPEGNUM")
	public String getEndPegNum() {
		return endPegNum;
	}

	public void setEndPegNum(String endPegNum) {
		this.endPegNum = endPegNum;
	}

	@Column(name="REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public SubprojectInfo() {
		super();
	}

}
